home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / rdsh_11.zoo / desktop.zoo / desktop.doc < prev    next >
Text File  |  1992-03-22  |  3KB  |  48 lines

  1.           DESKTOP.PRG  is a little program that is meant to  reside  in 
  2. the AUTO folder of "booting" RDY ramdisks. For older TOSes it should be 
  3. renamed  FOLDRXXX.PRG  where  XXX stands for the  number  of  directory 
  4. spaces to allow for in addition to the standard 40(see below).
  5.  
  6.           It  checks  the  TOS Version at boot-up.  If it  is  NEW  Tos 
  7. (version  >= 1.4),  then it will copy any DESKTOP.INF there may in  the 
  8. root  directory of the ramdisk to drive C:\ (if the latter is  present) 
  9. because,  if C:\ is present,  TOS_1.4 and above WILL take their desktop 
  10. from it - despite "booting" from the AUTO folder of the RDY ramdisk.
  11.  
  12.           If it is old TOS (which is subject to the 40-folder limit) it 
  13. will  try  and execute a file FOLDR???.PRG on drive C:\.  This  is  the 
  14. patch program for the 40-folder bug. If DESKTOP.PRG itself (in the AUTO 
  15. folder) has been renamed FOLDR200.PRG (say), then this will cause space 
  16. for an additional 200 directories to be visited. This is only likely to 
  17. be  needed  if a hard disk is connected.  Thus it  is  reasonable  that 
  18. DESKTOP.PRG  should look to find this program on drive  C:\.  In  turn, 
  19. this  implies  DESKTOP.PRG must come after the  hard-disk  "waking  up" 
  20. program  e.g.  AHDI  (or ICDBOOT or equivalent)  which  normally  comes 
  21. first.
  22.  
  23.           Finally,  if key "X" is pressed during  boot-up,  DESKTOP.PRG 
  24. allows you to execute any Program (that does not use GEM  calls).  This 
  25. can be a life-saver sometimes - e.g.  when an ACC (or a subsequent AUTO 
  26. folder  program)  has become corrupted and causes a  warmboot  when  an 
  27. attempt is made to load it - this,  in turn,  causes the "booting"  RDY 
  28. ramdisk to start booting again, eventually attempting to load again the 
  29. same corrupted ACC - hence another warm reset - etc. etc. ad infinitum. 
  30. Clearly  emtering  a  shell like msh.tos (in order to  change  the  name 
  31. (deactivate) the culprit program) is invaluable to save having to  cold 
  32. boot - and possibly lose valuable work on the ramdisk.
  33.  
  34.                                              W. Alan B. Evans,
  35.                                              [wabe@ukc.ac.uk]
  36.  
  37. P.S. (for C Programmers only)
  38.  
  39.     Of course, this is the seed if an itelligent booting system. If
  40. you wish to proceed to develop an intelligent booting program utilising
  41. a "booting" RDY/RDE ramdisk, unpack IQ_BOOT.ZOO and there you will find
  42. a proto source code file, IQ_BOOT.C, for such a program. Of course, you
  43. need a C compiler ( Mark Williams C is ideal) to compile it - or rather
  44. your own "tailored" version of it. However to give you an idea  how  it
  45. works there  is  also  LD_P.PRG, which  will load  a  tiny (50  kbytes)
  46. "booting" RDY\RDE  Disk  P:\ containing in its AUTO-folder  the program
  47. compiled from the proto source.
  48.